<html>

<head>
		<link rel="stylesheet" href="${resource(dir: 'css', file: 'style.css')}" type="text/css">
</head>

<body>

<div id="wrap">
<div class="header">
<div id="logo">
</div>
<div class="title">
<h3> Books To Africa</h3>
</div>
 <div id="menu"style="background-color:clear;height:2px;width:700px;position:absolute;top:90px;right:30px">
            <ul>                                                                       
            <sec:ifLoggedIn><li class="selected"><a href="index.html">browse requests</a></li></sec:ifLoggedIn>

			<sec:ifLoggedIn><li><a href="${createLink(controller:'bookRequest',action:'list')}">browse books</a></li></sec:ifLoggedIn>

 			<sec:ifLoggedIn><li><a href="${createLink(controller:'donorHome',action:'donateBookForm')}">donate</a></li>   </sec:ifLoggedIn>

            <sec:ifLoggedIn><li><a href="${createLink(controller:'donorHome',action:'viewMyBooks')}">my donations</a></li>                   </sec:ifLoggedIn>

            <sec:ifLoggedIn><li><a href="myaccount.html">my account</a></li></sec:ifLoggedIn>

           <sec:ifLoggedIn> <li><a href="details.html"> <!--search--> </a></li></sec:ifLoggedIn>

           <sec:ifLoggedIn> <li><a href="${createLink(controller:'logout',action:'index')}">logout</a></li></sec:ifLoggedIn>
               
	</ul>
</div>     

 <div id="menu"style="background-color:clear;height:10px;width:600px;position:absolute;top:275px;right:130px">
	<h1>Welcome to Donor Page,
   ${user.username}
	! Your id is ${user.id}</h1>
</div>

</body>
</html>
